<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	<title><?=$site_name?>|<?=$page_title?></title>
	<meta name="description" content="<?=$description?>" />
	
        <?foreach ($styles as $file_style):?>
            <?=html::style($file_style)?>
        <?endforeach?>

        <?foreach ($scripts as $file_script):?>
            <?=html::script($file_script)?>
        <?endforeach?>
    
</head>

<body>

<div id="wrapper">

	<header id="header">
            <div class ="header_img">
                <img src="media/img/head-title2.png"/>
            </div>
            
	</header><!-- #header-->

	<section id="middle">

		<div id="container">
                    
                    <div id="content">
                    <?if (isset ($centr_content)):?>
                        <?  foreach ($centr_content as $c_block):?>
                                <?=$c_block;?>
                            <?  endforeach;?>
                        <?  endif;?> 
                    </div><!-- #content-->
                    
		</div><!-- #container-->
		
                <?if (isset ($left_sidebar)):?>
                <aside id="sideLeft">
                    <?  foreach ($left_sidebar as $l_block):?>
                            <?=$l_block;?>
                    <?  endforeach;?>
		</aside><!-- #sideLeft -->
                <?  endif;?>
		
               <?if (isset ($right_sidebar)):?> 
                <aside id="sideRight">
                        <?  foreach ($right_sidebar as $r_block):?>
                            <?=$r_block;?>
                        <?  endforeach;?>
                </aside><!-- #sideRight -->    
		<?  endif;?>   
		
                
                

	</section><!-- #middle-->

	<footer id="footer">
		
	</footer><!-- #footer -->

</div><!-- #wrapper -->

</body>
</html>